package net.jsoft.pms.entity.openservice;

import java.io.Serializable;

import net.jsoft.pms.entity.ywfwqd.YwfwqdEntity;

//@Entity
//@Table(name = "t_dzswj_openservicelist")
public class PublishService implements Serializable
{
    
    /**
     * 
     */
    private static final long serialVersionUID = -8393705243204850531L;

    private long id;

    private YwfwqdEntity service;

    private String editNote;//修改说明

    private String influence;//影响分析

    private String type;

//    private OpenService openService;//

    public PublishService()
    {
        super();
    }

    public PublishService(long id, YwfwqdEntity service, String editNote, String influence, String type)
    {
        super();
        this.id = id;
        this.service = service;
        this.editNote = editNote;
        this.influence = influence;
        this.type = type;
    }

//    @JsonIgnore
//    @ManyToOne(fetch = FetchType.LAZY)
//    @JoinColumn(name = "openServiceId")
//    public OpenService getOpenService()
//    {
//        return openService;
//    }
//
//    public void setOpenService(OpenService openService)
//    {
//        this.openService = openService;
//    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

//    @Id
//    @GeneratedValue
    public long getId()
    {
        return id;
    }

    public void setId(long id)
    {
        this.id = id;
    }

    public String getEditNote()
    {
        return editNote;
    }

//    @ManyToOne(fetch = FetchType.EAGER)
//    @JoinColumn(name = "ywfwqdId")
    public YwfwqdEntity getService()
    {
        return service;
    }

    public void setService(YwfwqdEntity service)
    {
        this.service = service;
    }

    public void setEditNote(String editNote)
    {
        this.editNote = editNote;
    }

    public String getInfluence()
    {
        return influence;
    }

    public void setInfluence(String influence)
    {
        this.influence = influence;
    }

}
